package com.dan.model;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2173268524234468475L;
	
	private int id;
	private String user;
	private String pwd;
	private String name;
	private String sex;
	private Date birth;
	private String address;
	private long tel;
	private String email;
	private int depart;
	private String on;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUser() {
		return user;
	}
	public void setUser(String user) {
		this.user = user;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Date getBirth() {
		return birth;
	}
	public void setBirth(Date birth) {
		this.birth = birth;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public long getTel() {
		return tel;
	}
	public void setTel(long tel) {
		this.tel = tel;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getDepart() {
		return depart;
	}
	public void setDepart(int depart) {
		this.depart = depart;
	}
	public String getOn() {
		return on;
	}
	public void setOn(String on) {
		this.on = on;
	}
	@Override
	public String toString() {
		return "id : " + id +
				"\nuser : " + user +
				"\npwd : " + pwd +
				"\nname : " + name +
				"\naddress : " + address +
				"\nbirth : " + birth +
				"\nsex : " + sex +
				"\ntel : " + tel +
				"\ndepart : " + depart +
				"\nemail : " + email +
				"\non : " + on;
	}

}
